<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="project/doadd">

    <div class="form-group">
        <label for="number" class="control-label col-xs-12 col-sm-2">{:__('number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="number" data-rule="required" class="form-control" name="row[number]" placeholder="请输入项目编码,以XM开头" type="text" value="">
        </div>
    </div>


    <div class="form-group">
        <label for="unit_id" class="control-label col-xs-12 col-sm-2">{:__('mname')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select id="unit_id" data-rule="required" class="form-control selectpicker" name="row[unit_id]">
                <option  value="">请选择</option>
                {foreach name="ministries" item="vo"}
                <option  value="{$vo.id}">{$vo.m_name}</option>
                {/foreach}
            </select>

        </div>
    </div>

    <div class="form-group" id="Catename" style="display: none">
        <label for="a_id" class="control-label col-xs-12 col-sm-2">{:__('Catename')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select id="a_id" data-rule="required" class="form-control selectpicker" name="row[a_id]">
                <option pid="0" value="">请选择</option>
                {foreach name="cateList" item="vo"}
                <option pid="{$vo.pid}" value="{$vo.id}" style="display: block">{$vo.name}</option>
                {/foreach}
            </select>

        </div>
    </div>


    <div class="form-group">
        <label for="title" class="control-label col-xs-12 col-sm-2">{:__('title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="title" data-rule="required" class="form-control" name="row[title]" placeholder="请输入项目名称" type="text" value="">
        </div>
    </div>

    <div class="form-group">
    <label for="survey" class="control-label col-xs-12 col-sm-2">{:__('survey')}:</label>

    <div class="col-xs-12 col-sm-8">
        <textarea name="row[survey]" id="survey" cols="60" rows="5" class="form-control"></textarea>
    </div>

    </div>

    <div class="form-group">
        <label for="subject" class="control-label col-xs-12 col-sm-2">{:__('subject')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select id="subject" data-rule="required" class="form-control selectpicker" name="row[subject]">
                <option  value="">请选择</option>
                {foreach name="subject" item="vo"}
                <option  value="{$vo.id}">{$vo.subject}</option>
                {/foreach}
            </select>

        </div>
    </div>

    <div class="form-group">
        <label for="innovation" class="control-label col-xs-12 col-sm-2">{:__('innovation')}:</label>

        <div class="col-xs-12 col-sm-8">
            <textarea name="row[innovation]" id="innovation" cols="60" rows="5" class="form-control"></textarea>
        </div>

    </div>

    <div class="form-group">
        <label for="ministries" class="control-label col-xs-12 col-sm-2">{:__('ministries')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="ministries" class="form-control" name="row[ministries]" placeholder="请输入国家部委" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label for="municipal" class="control-label col-xs-12 col-sm-2">{:__('municipal')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="municipal"  class="form-control" name="row[municipal]" placeholder="请输入SH市级" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label for="contractor" class="control-label col-xs-12 col-sm-2">{:__('contractor')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="contractor"  class="form-control" name="row[contractor]" placeholder="请输入J方" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label for="track" class="control-label col-xs-12 col-sm-2">{:__('track')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="track" class="form-control" name="row[track]" placeholder="请输入跟踪服务处" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label for="investment" class="control-label col-xs-12 col-sm-2">{:__('investment')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="investment"  class="form-control" name="row[investment]" placeholder="请输入投资金额" type="text" value="">
        </div>
    </div>



    <div class="form-group">
        <label for="assessment" class="control-label col-xs-12 col-sm-2">{:__('assessment')}:</label>

        <div class="col-xs-12 col-sm-8">
            <textarea name="row[assessment]" id="assessment" cols="60" rows="5" class="form-control" placeholder="请输入阶段总结评估"></textarea>
        </div>

    </div>

    <div class="form-group">
        <label for="target_20" class="control-label col-xs-12 col-sm-2">{:__('target_20')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="target_20" data-rule="required"  class="form-control" name="row[target_20]" placeholder="请输入2020年阶段目标" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label for="target_21" class="control-label col-xs-12 col-sm-2">{:__('target_21')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="target_21"  class="form-control" name="row[target_21]" placeholder="请输入2021年阶段目标" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="target_22" class="control-label col-xs-12 col-sm-2">{:__('target_22')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="target_22"  class="form-control" name="row[target_22]" placeholder="请输入2022年阶段目标" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="target_23" class="control-label col-xs-12 col-sm-2">{:__('target_23')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="target_23"  class="form-control" name="row[target_23]" placeholder="请输入2023年阶段目标" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="target_24" class="control-label col-xs-12 col-sm-2">{:__('target_24')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="target_24"  class="form-control" name="row[target_24]" placeholder="请输入2024年阶段目标" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="target_25" class="control-label col-xs-12 col-sm-2">{:__('target_25')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="target_25"  class="form-control" name="row[target_25]" placeholder="请输入2025年阶段目标" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('payment')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="col-xs-12 col-sm-8">

                <label class="checkbox-inline checkbox" style="line-height: 24px;">
                    <input type="checkbox"  name="payment[]" checked value="1"> 转移支付
                </label>
                <label class="checkbox-inline checkbox" style="line-height: 24px;">
                    <input type="checkbox"  name="payment[]" checked value="2"> 自费
                </label>
                <label class="checkbox-inline checkbox" style="line-height: 24px;">
                    <input type="checkbox"  name="payment[]" checked value="3"> 市府配比
                </label>
                <label class="checkbox-inline checkbox" style="line-height: 24px;">
                    <input type="checkbox"  name="payment[]" checked value="4"> 其他
                </label>

            </div>
        </div>
    </div>


    <div class="form-group">
        <label for="remark" class="control-label col-xs-12 col-sm-2">{:__('remark')}:</label>

        <div class="col-xs-12 col-sm-8">
            <textarea name="row[remark]" id="remark" cols="60" rows="5" class="form-control"></textarea>
        </div>

    </div>




    <button style="margin-left: 17%;margin-bottom: 20px" type="button" class="btn btn-primary" data-toggle='addresspicker' data-input-id="h_address" data-lng-id="lng" data-lat-id="lat">点击选择地址获取经纬度</button>
    <div class="form-group">
        <label for="lng" class="control-label col-xs-12 col-sm-2">{:__('lng')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="lng" data-rule="required" class="form-control" name="row[lng]" placeholder="请输入经度" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="lat" class="control-label col-xs-12 col-sm-2">{:__('lat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="lat" data-rule="required" class="form-control" name="row[lat]" placeholder="请输入纬度" type="text" value="">
        </div>
    </div>



    <div class="form-group">
        <label for="size" class="control-label col-xs-12 col-sm-2">{:__('size')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="size"  class="form-control" name="row[size]" placeholder="请输入地图上点的大小，建议：100-200之间" type="number" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="color" class="control-label col-xs-12 col-sm-2">{:__('color')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="color"  class="form-control" name="row[color]" placeholder="请输入地图上点的颜色，以#开头，如 #FF6600" type="text" value="">
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
